package com.example.demo.service;

import com.example.demo.pojo.Tpaper;

import java.util.List;

public interface ITpaperService {
    int deleteByPrimaryKey(Integer id);

    int insert(Tpaper record);

    int insertSelective(Tpaper record);

    Tpaper selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tpaper record);

    int updateByPrimaryKey(Tpaper record);

    List<Tpaper> selectTpaper();

    List<Tpaper> selectTpaperByName(String name);

    List<Tpaper> selectTpaperByTid(Integer tid);
}